#pragma once
#include <map>
#include "ActionInstance.h"

enum Status
{
	standup = 0,
	run = 1,
	walk = 2,
	swim = 3,
};

class CPlayerStatus
{
	friend class CGamePlayer;
public:
	CPlayerStatus();
	virtual ~CPlayerStatus();
	bool setStatus(Status status);
	
private:
	CActionInstance* createActionInstance(Status status);

private:
	Status		mCurrentStatus = standup;
	std::map<Status, CActionInstance*>	mActions;
};


